开始时间: 2020-04-02 14:58:50
耗时: 0:04:48.359617
状态: Failure:4 Error:4 通过率:0.0%
社会化服务测试报告
| 测试组/测试用例 | 总数 | 通过 | 失败 | 错误 | 视图 | 错误截图 |
|---|---|---|---|---|---|---|
| test_case_app.test_booking.TestBooking | 4 | 0 | 0 | 4 | 详情 | |
testBooking_1 |
错误
et1.1.1: Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_app\test_booking.py", line 31, in testBooking
a.booking_action(data['编号'],data['服务类型'],data["服务名称"],data["服务数量"],'17708179510')
File "E:\shhfw\businessView_app\bookingView.py", line 32, in booking_action
self.add_img()
File "E:\shhfw\common\common_fun.py", line 34, in add_img
self.imgs.append(self.driver.get_screenshot_as_base64())
AttributeError: 'BookingView' object has no attribute 'imgs'
|
显示截图 | ||||
testBooking_1 |
错误
et1.1.2: INFO:log:========select region=========
INFO:log:============login_action==============
INFO:log:username is:17708179510
INFO:log:password is:123456
INFO:log:click loginBtn
INFO:log:login finished!
INFO:log:======test_booking=====
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_app\test_booking.py", line 31, in testBooking
a.booking_action(data['编号'],data['服务类型'],data["服务名称"],data["服务数量"],'17708179510')
File "E:\shhfw\businessView_app\bookingView.py", line 32, in booking_action
self.add_img()
File "E:\shhfw\common\common_fun.py", line 34, in add_img
self.imgs.append(self.driver.get_screenshot_as_base64())
AttributeError: 'BookingView' object has no attribute 'imgs'
|
显示截图 | ||||
testBooking_2 |
错误
et1.1.3: INFO:log:========select region=========
INFO:log:============login_action==============
INFO:log:username is:17708179510
INFO:log:password is:123456
INFO:log:click loginBtn
INFO:log:login finished!
INFO:log:======test_booking=====
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_app\test_booking.py", line 31, in testBooking
a.booking_action(data['编号'],data['服务类型'],data["服务名称"],data["服务数量"],'17708179510')
File "E:\shhfw\businessView_app\bookingView.py", line 32, in booking_action
self.add_img()
File "E:\shhfw\common\common_fun.py", line 34, in add_img
self.imgs.append(self.driver.get_screenshot_as_base64())
AttributeError: 'BookingView' object has no attribute 'imgs'
|
显示截图 | ||||
testBooking_2 |
错误
et1.1.4: INFO:log:========select region=========
INFO:log:============login_action==============
INFO:log:username is:17708179510
INFO:log:password is:123456
INFO:log:click loginBtn
INFO:log:login finished!
INFO:log:======test_booking=====
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_app\test_booking.py", line 31, in testBooking
a.booking_action(data['编号'],data['服务类型'],data["服务名称"],data["服务数量"],'17708179510')
File "E:\shhfw\businessView_app\bookingView.py", line 32, in booking_action
self.add_img()
File "E:\shhfw\common\common_fun.py", line 34, in add_img
self.imgs.append(self.driver.get_screenshot_as_base64())
AttributeError: 'BookingView' object has no attribute 'imgs'
|
显示截图 | ||||
| test_case_business.test_processing_order_xq.TestprocessingOderXq | 4 | 0 | 4 | 0 | 详情 | |
testProcessingOderXq_1 |
失败
ft1.2.1: screenshot: 20200402_14.59.07 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 37, in testProcessingOderXq
l.login_action('17708179512','qq2883595')
File "E:\shhfw\businessView_business\loginView.py", line 17, in login_action
self.driver.find_element(*self.username_type).send_keys(username)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"username"}
(Session info: chrome=72.0.3626.121)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.10240 x86_64)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 53, in testProcessingOderXq
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
testProcessingOderXq_1 |
失败
ft1.2.2: screenshot: 20200402_14.59.18 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 37, in testProcessingOderXq
l.login_action('17708179512','qq2883595')
File "E:\shhfw\businessView_business\loginView.py", line 17, in login_action
self.driver.find_element(*self.username_type).send_keys(username)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"username"}
(Session info: chrome=72.0.3626.121)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.10240 x86_64)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 53, in testProcessingOderXq
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
testProcessingOderXq_2 |
失败
ft1.2.3: screenshot: 20200402_14.59.29 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 37, in testProcessingOderXq
l.login_action('17708179512','qq2883595')
File "E:\shhfw\businessView_business\loginView.py", line 17, in login_action
self.driver.find_element(*self.username_type).send_keys(username)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"username"}
(Session info: chrome=72.0.3626.121)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.10240 x86_64)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 53, in testProcessingOderXq
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
testProcessingOderXq_2 |
失败
ft1.2.4: screenshot: 20200402_14.59.39 .png
Traceback (most recent call last):
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 37, in testProcessingOderXq
l.login_action('17708179512','qq2883595')
File "E:\shhfw\businessView_business\loginView.py", line 17, in login_action
self.driver.find_element(*self.username_type).send_keys(username)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"username"}
(Session info: chrome=72.0.3626.121)
(Driver info: chromedriver=72.0.3626.69 (3c16f8a135abc0d4da2dff33804db79b849a7c38),platform=Windows NT 10.0.10240 x86_64)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cpt\AppData\Local\Programs\Python\Python37\lib\site-packages\ddt.py", line 145, in wrapper
return func(self, *args, **kwargs)
File "E:\shhfw\test_case_business\test_processing_order_xq.py", line 53, in testProcessingOderXq
self.assertTrue(False)
AssertionError: False is not true
|
显示截图 | ||||
| 统计 | 8 | 0 | 4 | 4 | ||